package com.example.spring_transaction.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LogInfoMapper {

    @Insert("insert into log_info(user_name,op) values(#{userName},#{op})")
    Integer addLog(@Param("userName") String userName, @Param("op") String op);
}
